
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 

class Ajax extends ST_Controller {
	 
	 /**
     * 构造函数
     * 
     * @access public
     * @return void
     */
	public function __construct()
	{
		parent::__construct();	
	}

	 /**
     * 默认执行函数, 处理流程
     * 
     * @access public
     * @return void
     */
	function index()
	{
			$this->load->helper('Func'); 
			$this->load->library('King'); //载入pChart库	

		$s=kc_get('tit','0').'<br>';

		$kuititle['0']='1111111111';
		$s.= $this->king->htmForm('关键词','<input class="k_in w150" type="kew" name="kew" maxlength="30" />');
		$s.= $this->king->htmForm('标题','<input class="k_in w250" type="kew" name="kew" maxlength="100" value="'.$kuititle[0].'"/>');
		$s.= $this->king->htmForm('内容','<input class="k_in w250" type="kew" name="kew" maxlength="100" value="'.$kuititle[0].'"/>');
					$but=kc_htm_a('提交','{URL:\'/system/soso.php\',CMD:\'tokey\'}');

				kc_ajax('请输入关键词',$s,$but,'',500,300);


	}
	
	function edit()
	{
	

		$this->load->helper('Func'); 
		$this->load->library('King'); //载入pChart库	
		$s=kc_get('tit','0').'<br>';
		$kuititle['0']='222222222222';
		$s.= $this->king->htmForm('关键词','<input class="k_in w150" type="kew" name="kew" maxlength="30" />');
		$s.= $this->king->htmForm('标题','<input class="k_in w250" type="kew" name="kew" maxlength="100" value="'.$kuititle[0].'"/>');
		$s.= $this->king->htmForm('内容','<input class="k_in w250" type="kew" name="kew" maxlength="100" value="'.$kuititle[0].'"/>');
					$but=kc_htm_a('提交','{URL:\'/system/soso.php\',CMD:\'tokey\'}');

				kc_ajax('请输入关键词',$s,$but,'',500,300);


	}
	



}

/* End of file pages.php */
/* Location: ./application/controllers/pages.php */
?>